package com.itdachang.design.structural.adapter;

/**
 * @author gcq
 * @Create 2022-02-08
 */
public class Zh_JPTranslator implements Translator {

    @Override
    public String translate(String content) {
        if ("你好".equals(content)) {
            return "空你吉瓦";
        }
        if("什么".equals(content)) {
            return "纳尼";
        }
        return "******";
    }
}